package com.mou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mou.entity.Captcha;
import org.springframework.stereotype.Service;

@Service
public interface CaptchaService{

    String generateCode(String email);

    // 验证验证码
    boolean validateCode(String email, String code);


}